<?php
if($_SERVER["PHP_SELF"] != $CONFIG['phpself'])
exit();
?>
<div id="confpart">
<div class="editpart">
<br/><br/>
<div class="divtypeach">
<div class="divblocktype"><center><h3><?php echo $ADMIN_CONFIRMATION[$Lang]; ?></h3></center></div>
<br/><center><input type="image" id="6" BORDER="1" src="../achimg.php?at=<?php echo $_SESSION['AchTitle']; ?>&ad=<?php echo $_SESSION['AchDesc']; ?>&aimg=<?php echo $_SESSION['Achimage']; ?>&am=<?php echo $_SESSION['Achamount']; ?>&m=2"></center><br/>
<br/><?php echo $SUCCES[$Lang]; ?> "<?php echo $_SESSION['AchTitle']; ?>"<?php echo $SEREALISERA[$Lang]; ?> : <br/>
<?php
$chaineLigne[0]="";
if($_SESSION['Achonelife'] == "1")
{
	echo $ADMIN_CONFIRMATION_ONELIFE[$Lang];
}
echo $ADMIN_CONFIRMATION_DO[$Lang];
if($_SESSION['Achonelife'] != "1")
{
	echo $_SESSION['Achamount']." ".$ADMIN_CONFIRMATION_TIME[$Lang];
	
}
echo $ADMIN_CONFIRMATION_ACTION[$Lang];


for ($i=1;$i<6;$i++)
{
	if($_SESSION['AchTypeofAchievement'][$i] != "none")
	{
		$chaineLigne[$i]=$chaineLigne[$i]."<h3>".$_SESSION['AchTypeofAchievement'][$i]."</h3>";
	}
	switch ($_SESSION['AchTypeofAchievement'][$i])
	{
		case "kill" : 
		$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_PLAYER[$Lang];
		//--------
		//Attack
		//Attack - Attack STEAMID
		if($_SESSION['AchKillAttackSteamIDText'][$i] != "" && $_SESSION['AchWhoWinKill'][$i] == "attacker")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_WITH_STEAMID[$Lang].$_SESSION['AchKillAttackSteamIDText'][$i]." ";
		//KILL
		if($_SESSION['AchWhoWinKill'][$i] == "attacker")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_KILL[$Lang];
		//Attack - Victim STEAMID
		if($_SESSION['AchKillVictimSteamIDText'][$i] != "" && $_SESSION['AchWhoWinKill'][$i] == "attacker")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_WITH_STEAMID[$Lang].$_SESSION['AchKillVictimSteamIDText'][$i]." ";
		//Attack - Assist STEAMID
		if($_SESSION['AchKillAssistSteamIDText'][$i] != "" && $_SESSION['AchWhoWinKill'][$i] == "attacker")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_ASSISTKILLSTEAMID[$Lang].$_SESSION['AchKillAssistSteamIDText'][$i]." ";
		
		//Victim
		//Victim - Victim STEAMID
		if($_SESSION['AchKillVictimSteamIDText'][$i] != "" && $_SESSION['AchWhoWinKill'][$i] == "victim")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_WITH_STEAMID[$Lang].$_SESSION['AchKillVictimSteamIDText'][$i]." ";
		//KILL
		if($_SESSION['AchWhoWinKill'][$i] == "victim")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_KILL_BY[$Lang];
		//Victim - Attack STEAMID
		if($_SESSION['AchKillAttackSteamIDText'][$i] != "" && $_SESSION['AchWhoWinKill'][$i] == "victim")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_WITH_STEAMID[$Lang].$_SESSION['AchKillAttackSteamIDText'][$i]." ";
		//Victim - Assist STEAMID
		if($_SESSION['AchKillAssistSteamIDText'][$i] != "" && $_SESSION['AchWhoWinKill'][$i] == "victim")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_ASSISTKILLSTEAMID[$Lang].$_SESSION['AchKillAssistSteamIDText'][$i]." ";;
		
		//assist
		if($_SESSION['AchKillAssistSteamIDText'][$i] != "" && $_SESSION['AchWhoWinKill'][$i] == "assist")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_WITH_STEAMID[$Lang].$_SESSION['AchKillAssistSteamIDText'][$i]." ";;
		//KILL
		if($_SESSION['AchWhoWinKill'][$i] == "assist")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_ASSISTKILL[$Lang];
		if($_SESSION['AchKillVictimSteamIDText'][$i] != "" && $_SESSION['AchWhoWinKill'][$i] == "assist")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_WITH_STEAMID[$Lang].$_SESSION['AchKillVictimSteamIDText'][$i]." ";;
		if($_SESSION['AchKillAttackSteamIDText'][$i] != "" && $_SESSION['AchWhoWinKill'][$i] == "assist")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_ATTACKANTSTEAMID2[$Lang].$_SESSION['AchKillAttackSteamIDText'][$i]." ";
		
		$chaineLigne[$i]=$chaineLigne[$i].".<br/>";
		//WEAPONS
		if($_SESSION['AchKillWeapon'][$i] != "")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_WEAPON[$Lang].$_SESSION['AchKillWeapon'][$i]."<br/>";
		if($_SESSION['AchKillMap'][$i] != "")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_MAP[$Lang].$_SESSION['AchKillMap'][$i]."<br/>";
		if($_SESSION['AchKillVictimclass'][$i] != "")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_VICTIMCLASS[$Lang].$_SESSION['AchKillVictimclass'][$i]."<br/>";
		if($_SESSION['AchKillAttackclass'][$i] != "")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_ATTACKCLASS[$Lang].$_SESSION['AchKillAttackclass'][$i]."<br/>";
		if($_SESSION['AchKillAssistclass'][$i] != "")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_ASSISTCLASS[$Lang].$_SESSION['AchKillAssistclass'][$i]."<br/>";
		if($_SESSION['AchKillCritz'][$i] == "1")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_CRITZ[$Lang]."<br/>";
		if($_SESSION['AchKillAmount'][$i] == "1")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_AMOUNT[$Lang].$_SESSION['AchKillAmount'][$i].$ADMIN_CONFIRMATION_TIME[$Lang]."<br/>";
		break;
		case "sniper" : 
		//--------
		$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_PLAYER[$Lang];
		if($_SESSION['AchSniperJarateRazor'][$i] == "jarate" && $_SESSION['AchSniperAttackVictim'][$i] == "victim")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_RECEIVEJARATE[$Lang]."(".$_SESSION['AchSniperAmount'][$i].")<br/>";
		if($_SESSION['AchSniperJarateRazor'][$i] == "jarate" && $_SESSION['AchSniperAttackVictim'][$i] == "attackant")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_SENDJARATE[$Lang]."(".$_SESSION['AchSniperAmount'][$i].")<br/>";
		if($_SESSION['AchSniperJarateRazor'][$i] == "razor" && $_SESSION['AchSniperAttackVictim'][$i] == "attackant")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_BLOCKWITHRAZOR[$Lang]."(".$_SESSION['AchSniperAmount'][$i].")<br/>";
		if($_SESSION['AchSniperJarateRazor'][$i] == "razor" && $_SESSION['AchSniperAttackVictim'][$i] == "victim")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_BLOCKBYRAZOR[$Lang]."(".$_SESSION['AchSniperAmount'][$i].")<br/>";
		break;
		case "condition" : 
		//--------
		$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_CONDITIONNUMBER[$Lang]." ".$_SESSION['AchB2Conditon'][$i];
		if($_SESSION['AchConditonWho'][$i] == "victim")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_CONDITIONVICTIM[$Lang]."<br/>";
		if($_SESSION['AchConditonWho'][$i] == "attacker")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_CONDITIONATTACK[$Lang]."<br/>";
		if($_SESSION['AchConditonWho'][$i] == "assist")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_CONDITIONASSIST[$Lang]."<br/>";
		break;
		case "engineer" : 
		//--------
		if($_SESSION['AchEngineerChoose'][$i] != "build")
		{
			if($_SESSION['AchEngineerDestroy'][$i] == "victim")
				$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_BLOCKENGI_VICTIM_BUILDER[$Lang];
			if($_SESSION['AchEngineerDestroy'][$i] == "attacker")
				$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_BLOCKENGI_DESTROY_PLAYER[$Lang];
		}	
		else
		{
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_PLAYER[$Lang];
		}
		if($_SESSION['AchEngineerChoose'][$i] == "build")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_CONDITIONACONSTRUIT[$Lang].$_SESSION['AchEngineerObjectName'][$i].' ('.$_SESSION['AchEngineerAmount'][$i].$ADMIN_CONFIRMATION_TIME[$Lang].') <br/>';
		if($_SESSION['AchEngineerChoose'][$i] == "destroy")
		{
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_CONDITIONADETRUCT[$Lang].$_SESSION['AchEngineerObjectName'][$i].' ('.$_SESSION['AchEngineerAmount'][$i].$ADMIN_CONFIRMATION_TIME[$Lang].') ';
			if($_SESSION['AchEngineerDestroyBuild'][$i] == "no")
				$chaineLigne[$i]=$chaineLigne[$i].'('.$ADMIN_BLOCKENGI_BUILD_NOTCOMPLETE[$Lang].')';
			$chaineLigne[$i]=$chaineLigne[$i]."<br/>";
		}
		if($_SESSION['AchEngineerChoose'][$i] == "teleport")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_CONDITIONATELE[$Lang].'('.$_SESSION['AchEngineerAmount'][$i].$ADMIN_CONFIRMATION_TIME[$Lang].') <br/>';
		break;
		case "fun" : 
		//--------
		$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_PLAYER[$Lang];
		if($_SESSION['AchFunRadio'][$i] == "1")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_CONDITIONSAY[$Lang].$_SESSION['AchFunSayValue'][$i].'('.$_SESSION['AchFunAmount'][$i].$ADMIN_CONFIRMATION_TIME[$Lang].') <br/>';
		else
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_CONDITIONCALLMEDIC[$Lang].'('.$_SESSION['AchFunAmount'][$i].$ADMIN_CONFIRMATION_TIME[$Lang].') <br/>';
		break;
		case "fun" : 
		//--------
		$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_PLAYER[$Lang];
		if($_SESSION['AchFunRadio'][$i] == "1")
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_CONDITIONSAY[$Lang].$_SESSION['AchFunSayValue'][$i].'('.$_SESSION['AchFunAmount'][$i].$ADMIN_CONFIRMATION_TIME[$Lang].') <br/>';
		else
			$chaineLigne[$i]=$chaineLigne[$i].$ADMIN_CONFIRMATION_CONDITIONCALLMEDIC[$Lang].'('.$_SESSION['AchFunAmount'][$i].$ADMIN_CONFIRMATION_TIME[$Lang].') <br/>';
		break;
		default :
	}
}
for ($i=1;$i<6;$i++)
{
	echo $chaineLigne[$i];
}
?><br/><br/><br/>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>?page=<?php echo $GET_VAR_PAGE; ?>" method="post" name="formSaisie">
<input type="hidden" name="part" value="7"/>
<center><input value="<?php echo $YES[$Lang]; ?>" type="submit" id ="10" style="font-size:175%; width:80px; height:50px; font-family: TF2Font, Verdana;"></center>
</form>
<br/><br/>
</div>
<br/><br/>
</div>
</div>